//
// Created by wze-zero on 2024/8/3 003.
//
#include <iostream>

using namespace std;

int main() {
    char *s = new char;
    cin >> s;
    string year, month, date;
    for (int i = 0; i < 4; ++i) {
        year += s[i];
    }
    for (int i = 4; i < 6; ++i) {
        month += s[i];
    }
    for (int i = 6; i < 8; ++i) {
        date += s[i];
    }
    cout << "year=" << year << endl;
    cout << "month=" << month << endl;
    cout << "date=" << date << endl;
    return 0;
}